package com.anche.cywebnew.DAO.enchangeManager;


import com.anche.cywebnew.Pojo.exchangeManager.YyDataBase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DataMapper {

    int deleteList(String time);

    int selectMessageNumByCylsh(String cylsh);

    void updateMessageNumByCylsh(@Param("cylsh") String cylsh, @Param("messagenum") int messagenum, @Param("lszt") String lszt);

    String selectMessageStatusByCylsh(String cylsh);

    int insert(YyDataBase yyDataBase);

    List<YyDataBase> selectList();

    List<YyDataBase> selectListByStatusIsNullOrEmpty();

    int updateById(YyDataBase data);

    YyDataBase selectById(String id);
}
